package com.dwd.user.service;

import com.dwd.basic.exception.CustomException;
import com.dwd.basic.service.IBaseService;
import com.dwd.user.pojo.WeChat;
import com.dwd.user.pojo.dto.LoginInfoDto;

import java.util.Map;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/1/16 12:36
 * @Version 1.0
 */

public interface IWeChatService extends IBaseService<WeChat> {

    Map<String, Object> handlCallback(String code);

    /**
     * 绑定手机
     * @param loginInfoDto
     */
    Map<String, Object> binder(LoginInfoDto loginInfoDto) throws CustomException;
}
